<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>src.datastructure.record_list.Record_list</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="src-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >ttrq4fleet - Petrina Papazek</th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="src-module.html">Package&nbsp;src</a> ::
        <a href="src.datastructure-module.html">Package&nbsp;datastructure</a> ::
        <a href="src.datastructure.record_list-module.html">Module&nbsp;record_list</a> ::
        Class&nbsp;Record_list
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="src.datastructure.record_list.Record_list-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class Record_list</h1><p class="nomargin-top"><span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_src_data_4" name="uml_class_diagram_for_src_data_4">
<area shape="rect" href="src.datastructure.record_list.Record_list-class.html#name" title="src.datastructure.record_list.Record_list.name" alt="" coords="17,28,225,47"/>
<area shape="rect" href="src.datastructure.record_list.Record_list-class.html#begintime" title="src.datastructure.record_list.Record_list.begintime" alt="" coords="17,47,225,65"/>
<area shape="rect" href="src.datastructure.record_list.Record_list-class.html#endtime" title="src.datastructure.record_list.Record_list.endtime" alt="" coords="17,65,225,84"/>
<area shape="rect" href="src.datastructure.record_list.Record_list-class.html#intervals" title="src.datastructure.record_list.Record_list.intervals" alt="" coords="17,84,225,103"/>
<area shape="rect" href="src.datastructure.record_list.Record_list-class.html#__init__" title="x.__init__(...) initializes x; see x.__class__.__doc__ for signature" alt="" coords="17,105,225,124"/>
<area shape="rect" href="src.datastructure.record_list.Record_list-class.html#get_intervals" title="src.datastructure.record_list.Record_list.get_intervals" alt="" coords="17,124,225,143"/>
<area shape="rect" href="src.datastructure.record_list.Record_list-class.html#get_is_kph" title="src.datastructure.record_list.Record_list.get_is_kph" alt="" coords="17,143,225,161"/>
<area shape="rect" href="src.datastructure.record_list.Record_list-class.html#set_intervals" title="src.datastructure.record_list.Record_list.set_intervals" alt="" coords="17,161,225,180"/>
<area shape="rect" href="src.datastructure.record_list.Record_list-class.html#del_intervals" title="src.datastructure.record_list.Record_list.del_intervals" alt="" coords="17,180,225,199"/>
<area shape="rect" href="src.datastructure.record_list.Record_list-class.html#get_name" title="src.datastructure.record_list.Record_list.get_name" alt="" coords="17,199,225,217"/>
<area shape="rect" href="src.datastructure.record_list.Record_list-class.html#get_begintime" title="gets the earliest timestamp by searching the datastructure" alt="" coords="17,217,225,236"/>
<area shape="rect" href="src.datastructure.record_list.Record_list-class.html#get_endtime" title="gets the most recent timestamp by searching the datastructure" alt="" coords="17,236,225,255"/>
<area shape="rect" href="src.datastructure.record_list.Record_list-class.html#set_name" title="src.datastructure.record_list.Record_list.set_name" alt="" coords="17,255,225,273"/>
<area shape="rect" href="src.datastructure.record_list.Record_list-class.html#del_name" title="src.datastructure.record_list.Record_list.del_name" alt="" coords="17,273,225,292"/>
<area shape="rect" href="src.datastructure.record_list.Record_list-class.html#__iter__" title="src.datastructure.record_list.Record_list.__iter__" alt="" coords="17,292,225,311"/>
<area shape="rect" href="src.datastructure.record_list.Record_list-class.html#next" title="src.datastructure.record_list.Record_list.next" alt="" coords="17,311,225,329"/>
<area shape="rect" href="src.datastructure.record_list.Record_list-class.html#__getitem__" title="src.datastructure.record_list.Record_list.__getitem__" alt="" coords="17,329,225,348"/>
<area shape="rect" href="src.datastructure.record_list.Record_list-class.html#is_kph" title="src.datastructure.record_list.Record_list.is_kph" alt="" coords="17,367,225,385"/>
<area shape="rect" href="src.datastructure.record_list.Record_list-class.html" title="Record_list provides a container of agg_record&#45;objects." alt="" coords="16,11,227,387"/>
</map>
  <img src="uml_class_diagram_for_src_data_4.gif" alt='' usemap="#uml_class_diagram_for_src_data_4" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<p>Record_list provides a container of agg_record-objects.</p>
  <p>It works like a dict, in order to provide a sorted list for each 
  interval. The interval-number is the key. The list of records for each 
  interval is the value. This value contains a Interval_list, which is a 
  container for fleet-data of a specific time interval. Moreover there is a
  method in order to generalize or aggregate the list, so that a day has a 
  lower amount of bigger intervals.</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="src.datastructure.record_list.Record_list-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>=<span class="summary-sig-default">''</span>,
        <span class="summary-sig-arg">intervals</span>=<span class="summary-sig-default">96</span>)</span><br />
      x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_intervals"></a><span class="summary-sig-name">get_intervals</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.get_intervals">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_is_kph"></a><span class="summary-sig-name">get_is_kph</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.get_is_kph">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="set_intervals"></a><span class="summary-sig-name">set_intervals</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">value</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.set_intervals">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="del_intervals"></a><span class="summary-sig-name">del_intervals</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.del_intervals">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="get_name"></a><span class="summary-sig-name">get_name</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.get_name">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="src.datastructure.record_list.Record_list-class.html#get_begintime" class="summary-sig-name">get_begintime</a>(<span class="summary-sig-arg">self</span>)</span><br />
      gets the earliest timestamp by searching the datastructure</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.get_begintime">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="src.datastructure.record_list.Record_list-class.html#get_endtime" class="summary-sig-name">get_endtime</a>(<span class="summary-sig-arg">self</span>)</span><br />
      gets the most recent timestamp by searching the datastructure</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.get_endtime">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="set_name"></a><span class="summary-sig-name">set_name</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">value</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.set_name">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="del_name"></a><span class="summary-sig-name">del_name</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.del_name">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__iter__"></a><span class="summary-sig-name">__iter__</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.__iter__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="next"></a><span class="summary-sig-name">next</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.next">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__getitem__"></a><span class="summary-sig-name">__getitem__</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">key</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.__getitem__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="items"></a><span class="summary-sig-name">items</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.items">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__len__"></a><span class="summary-sig-name">__len__</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.__len__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="src.datastructure.record_list.Record_list-class.html#plot" class="summary-sig-name">plot</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">plotobject</span>,
        <span class="summary-sig-arg">attribute</span>=<span class="summary-sig-default">&quot;speed&quot;</span>,
        <span class="summary-sig-arg">name</span>=<span class="summary-sig-default">'data'</span>,
        <span class="summary-sig-arg">exp_name</span>=<span class="summary-sig-default">'data'</span>,
        <span class="summary-sig-arg">color</span>=<span class="summary-sig-default">'blue'</span>)</span><br />
      plots the data in the Record_list and exports the figure to png.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.plot">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="src.datastructure.record_list.Record_list-class.html#add_record" class="summary-sig-name">add_record</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">record</span>)</span><br />
      This method adds a Link-record-object to the record_list.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.add_record">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="src.datastructure.record_list.Record_list-class.html#aggregated_List" class="summary-sig-name">aggregated_List</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">min_interval</span>,
        <span class="summary-sig-arg">link</span>=<span class="summary-sig-default">None</span>)</span><br />
      if it is possible the method returns a new Record_list, which 
      aggregates to the data to the given interval in minutes</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.aggregated_List">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="is_kph"></a><span class="summary-sig-name">is_kph</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.is_kph">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__format__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__repr__</code>,
      <code>__setattr__</code>,
      <code>__sizeof__</code>,
      <code>__str__</code>,
      <code>__subclasshook__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="src.datastructure.record_list.Record_list-class.html#name" class="summary-name">name</a> = <code title="property(get_name, set_name, del_name, &quot;name or description of the lis\
t&quot;)">property(get_name, set_name, del_name, &quot;name or descrip<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="src.datastructure.record_list.Record_list-class.html#begintime" class="summary-name">begintime</a> = <code title="property(get_begintime, None, None, &quot;timestamp of the earliest record \
(calculated from input data)&quot;)">property(get_begintime, None, None, &quot;timestamp of <code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="src.datastructure.record_list.Record_list-class.html#endtime" class="summary-name">endtime</a> = <code title="property(get_endtime, None, None, &quot;timestamp of the most up-to-date-re\
cord (calculated from input data)&quot;)">property(get_endtime, None, None, &quot;timestamp of the <code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="src.datastructure.record_list.Record_list-class.html#intervals" class="summary-name">intervals</a> = <code title="property(get_intervals, set_intervals, del_intervals, &quot;number of inter\
vals on one day (e.g. 96 if there are 15-minutes-intervals)&quot;)">property(get_intervals, set_intervals, del_interva<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Properties</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Properties"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">name</span>=<span class="sig-default">''</span>,
        <span class="sig-arg">intervals</span>=<span class="sig-default">96</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>x.__init__(...) initializes x; see x.__class__.__doc__ for 
  signature</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>name</code></strong> - a name for the list (for exporting the list)</li>
        <li><strong class="pname"><code>intevals</code></strong> - number of time intervals on one day</li>
    </ul></dd>
    <dt>Overrides:
        object.__init__
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="get_begintime"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_begintime</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.get_begintime">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>gets the earliest timestamp by searching the datastructure</p>
  <dl class="fields">
    <dt>Returns:</dt>
        <dd>timestamp, if there is no data at all it returns None</dd>
  </dl>
</td></tr></table>
</div>
<a name="get_endtime"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_endtime</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.get_endtime">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>gets the most recent timestamp by searching the datastructure</p>
  <dl class="fields">
    <dt>Returns:</dt>
        <dd>timestamp, if there is no data at all it returns None</dd>
  </dl>
</td></tr></table>
</div>
<a name="plot"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">plot</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">plotobject</span>,
        <span class="sig-arg">attribute</span>=<span class="sig-default">&quot;speed&quot;</span>,
        <span class="sig-arg">name</span>=<span class="sig-default">'data'</span>,
        <span class="sig-arg">exp_name</span>=<span class="sig-default">'data'</span>,
        <span class="sig-arg">color</span>=<span class="sig-default">'blue'</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.plot">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>plots the data in the Record_list and exports the figure to png.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>plotobject</code></strong> - object for plotting (such as Plot-instance)</li>
        <li><strong class="pname"><code>attribute</code></strong> - attribute-value for the y-value, such as traveltime or speed 
          (default: &quot;speed&quot;)</li>
        <li><strong class="pname"><code>name</code></strong> - name for the data in the title (default: 'data')</li>
        <li><strong class="pname"><code>exp_name</code></strong> - name for the export</li>
        <li><strong class="pname"><code>color</code></strong> - color of the plotted points</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="add_record"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">add_record</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">record</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.add_record">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>This method adds a Link-record-object to the record_list.</p>
  <p>Therefore the record shall be of the type agg_record. The 
  record-object must have an interval-attribute in order to organize the 
  given data in the list.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="aggregated_List"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">aggregated_List</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">min_interval</span>,
        <span class="sig-arg">link</span>=<span class="sig-default">None</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="src.datastructure.record_list-pysrc.html#Record_list.aggregated_List">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>if it is possible the method returns a new Record_list, which 
  aggregates to the data to the given interval in minutes</p>
  <p>The new time interval size must integrate well with the old one, so 
  that all time intervals are filled equally (e.g. the old interval is 15 
  minutes means that 30 minutes, 1 hour or 2 hours would work well, however
  20 minutes are not possible yet). The new time_interval must be bigger 
  than the old one.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>min_interval</code></strong> - new time interval size in minutes</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== CLASS VARIABLE DETAILS ==================== -->
<a name="section-ClassVariableDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Variable Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassVariableDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="name"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">name</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
property(get_name, set_name, del_name, &quot;name or description of the lis<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
t&quot;)
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="begintime"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">begintime</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
property(get_begintime, None, None, &quot;timestamp of the earliest record <span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
(calculated from input data)&quot;)
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="endtime"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">endtime</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
property(get_endtime, None, None, &quot;timestamp of the most up-to-date-re<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
cord (calculated from input data)&quot;)
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="intervals"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">intervals</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
property(get_intervals, set_intervals, del_intervals, &quot;number of inter<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
vals on one day (e.g. 96 if there are 15-minutes-intervals)&quot;)
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="src-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >ttrq4fleet - Petrina Papazek</th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Thu Oct 25 19:15:41 2012
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
